<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${request.getContextPath()}/testBank/testBank?id=${c1?.id}"
          method="post">
        <div class="bjui-searchBar">
            <g:hiddenField name="SYS_QUERY_NAME" value="testBank"/>
            <g:hiddenField name="EXPORT_CONTENT_NAME" value="Excel"/>
            <button onclick="windows1()" type="submit" class="btn-default" data-icon="search"id="btn" >查询</button>&nbsp;
            <button type="button" class="btn-blue"
                    onclick="javascript:bjuiExportExl('#pagerForm', '${request.getContextPath()}/testBank/exportExcel')"
                    data-icon="file-excel-o" title="导出Excel">导出Excel文件</button>&nbsp;
        </div>
    </form>
</div>
<g:if test="${testBank.size > 0}">
    <div class="bjui-pageContent" id="a1">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr>
                <th width="40" rowspan="2">NO.</th>
                <th width="85" rowspan="2">线边仓货架号</th>
                <th width="120" rowspan="2">产品名称</th>
                <th width="85" rowspan="2">扩散批次</th>
               <th width="100" rowspan="2">工单号</th>
                <th width="85" rowspan="2">组装总批数</th>
                <th width="85" rowspan="2">线边仓批数</th>
                <th width="80" rowspan="2">线边仓出站数</th>
                <th width="70" colspan="4" align="center">其它站别信息</th>
                <th width="70" rowspan="2">优先级别</th>
                <th width="100" rowspan="2">等待时间(H)</th>
                <th width="70" rowspan="2">正在作业</th>
                <th width="70" rowspan="2">周记</th>
            </tr>
            <tr>
                <th width="60">切筋</th>
                <th width="60">电镀</th>
                <th width="60">塑封</th>
                <th width="70">其他站点</th>
            </tr>
            </thead>
            <tbody>
            <g:each in="${testBank}" status="i" var="tableInstance" id="a1">
                <tr>
                    <td width="60">${i + 1}</td>
                    <td width="120">${tableInstance.SHELF}</td>
                    <td width="150">${tableInstance.PRODUCT}</td>
                    <td width="150">${tableInstance.SPREAD}</td>
                    <td width="100">${tableInstance.WORK_NUMBER}</td>
                    <td width="100">${tableInstance.ASSEMBLY}</td>
                    <td width="100">${tableInstance.POSITIONS_NUMBER}</td>   %{--线边仓批数--}%
                    <td width="100">${tableInstance.POSITIONS}</td> %{--线边仓出站数--}%
                    <td width="80">${tableInstance.STEEL}</td>
                    <td width="80">${tableInstance.BATH}</td>
                    <td width="80">${tableInstance.PLASTIC}</td>
                    <td width="80">${tableInstance.OTHER}</td>
                    <td width="70">${tableInstance.LEVEL1}</td>
                    <td width="70">${tableInstance.LATENCY_TIME}</td>
                    <td width="70">${tableInstance.HOMEWORK}</td>
                    <td width="70">${tableInstance.RESERVED4}</td>
                </tr>
            </g:each>
            </tbody>
        </table>
    </div>
</g:if>
<script>
    setTimeout(function () {
        //使用  setTimeout（）方法设定定时2000毫秒
        document.getElementById("btn").click();
        /*parent.location.reload();*/
        /*  top.location.reload();*/
    }, 3000000);

</script>
